home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 42 / Mac Magazin and MacEasy Magazine CD - Issue 42.iso / Software / MACup Bestof / Publ-Screen / furbo | webmaster / webmaster series / webmaster series.rsrc / TEXT_132.txt < prev    next >
Text File  |  1997-12-30  |  2KB  |  81 lines

  1.  
  2.  
  3.                    web scrubber
  4.  
  5.  
  6. Sometimes a little dithering in the browser can improve the quality of your image. But how do you control which areas get dithered and which areas don't?
  7.  
  8. Try scrubbing your image. Colors that are nearly Web Safe are shifted so that they use one of the 216 colors. Colors that aren't close to being Web Safe are left alone to dither when displayed in the browser.
  9.  
  10. There are several implementations of this basic algorithm. They all require many steps to produce the final results. This filter does all these steps at once. It works well in conjunction with Browser Preview.
  11.  
  12. Here is the interface:
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55. colors
  56.  
  57. The Colors pop-up lets you select the number of colors for the image. The smaller the numbers, the smaller the file. But don't get too carried away; the quality will suffer.
  58.  
  59. The Wide checkbox allows you to select the colors using two different methods. When it is selected, the colors are chosen by the intensity at which your eye sees them. Otherwise, the numerical values of the colors are used.
  60.  
  61.  
  62. red, green and blue
  63.  
  64. The sliders for Red, Green and Blue adjust the amount of scrubbing (in other versions of this algorithm it is called "grit"). The higher the number, the closer the image will be to a pure Web Safe palette. If the number is low, then there will be more dithering of the image.
  65.  
  66. The color ramps are adjusted to show how the current settings affect the range of colors.
  67.  
  68. When the Lock checkbox is set, the controls are adjusted simultaneously.
  69.  
  70.  
  71. brightness & contrast
  72.  
  73. These controls work just as you'd expect them to. You can use them to improve the overall quality of the graphic.
  74.  
  75.  
  76. thanks
  77.  
  78. Thanks to Todd Fahrner for developing this algorithm. Philip Gwyn is responsible for the original Web Scrub filter (produced with Filter Factory). Thanks to both of them for sharing this trick with others.
  79.  
  80. For Todd and Philip's contact information, please visit the Web Scrubber page at www.furbo-filters.com
  81.